* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  transition: all 0.4s ease;
}
.top {
  width: 95px;
  height: 30px;
  line-height: 30px;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  background-color: black;
  color: white;
  margin-top: 10vh;
  margin-bottom: 30vh;
  cursor: pointer;
}
.container {
  position: relative;
}

.point {
  display: flex;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: black;
  border: 3px solid red;
  position: relative;
  left: -4px;
  top: -4px;
  z-index: 3;
  transition: all 0.4s ease;
}

.sec {
  position: absolute;
  width: 120px;
  height: 4px;
  left: 0px;
  top: 0px;
  background-color: red;
  transform-origin: 2px 2px;
  transform: rotate(-90deg);
  transition: all 1s ease-in-out;
}

.min {
  position: absolute;
  width: 120px;
  height: 4px;
  left: 0px;
  top: 0px;
  background-color: black;
  transform-origin: 2px 2px;
  transform: rotate(-90deg);
  transition: all 0.4s ease;
}

.hour {
  position: absolute;
  width: 70px;
  height: 4px;
  left: 0px;
  top: 0px;
  background-color: black;
  transform-origin: 2px 2px;
  transform: rotate(-90deg);
  transition: all 0.4s ease;
}

.min:hover {
  transform-origin: 0px 0px;
  transform: rotate(90deg);
}

.time {
  font-size: 60px;
  margin-top: 120px;
  margin-bottom: 20px;
  font-weight: lighter;
  transition: all 0.4s ease;
}

.month {
  color: #aaa;
  transition: all 0.4s ease;
}

.day {
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  display: inline-block;
  background-color: black;
  color: white;
  border-radius: 10px;
  transition: all 0.4s ease;
}
